﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="main.aspx.cs" Inherits="Com.Rivyer.Web.main" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>首页</title>
    <link href="./css/style.css" rel="stylesheet" type="text/css" />
    <link href="./css/rivcontent.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <%if (DesignMode)
      { %>
    <script type="text/javascript" src="./js/ASPxScriptIntelliSense.js"></script>
    <%} %>
    <script type="text/javascript">
        
    </script>
    <div>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td height="30">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td height="24" bgcolor="#353c44">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td>
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td width="6%" height="19" valign="bottom">
                                                        <div align="center">
                                                            <img src="./images/tb.gif" width="14" height="14" /></div>
                                                    </td>
                                                    <td width="94%" valign="bottom">
                                                        <span class="STYLE1">首页</span>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center" style="font-size: 12px">
                    <div id="rivcontent">
                        <div id="rivinfo">
                            <table border="0" cellpadding="10px" cellspacing="0">
                                <tr>
                                    <td>
                                        <table border="0" cellpadding="10px" cellspacing="0" style="border: 1px solid #87adbf;
                                            width: 400px; height: 308px; vertical-align: top; text-align: center; font-size: 12px">
                                            <tr>
                                                <th colspan="2" align="left">
                                                    用户基本信息
                                                </th>
                                            </tr>
                                            <tr>
                                                <td class="style2">
                                                    <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="用户名:">
                                                    </dx:ASPxLabel>
                                                </td>
                                                <td>
                                                    <dx:ASPxLabel ID="username" runat="server" Text="">
                                                    </dx:ASPxLabel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="style2">
                                                    <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="注册时间:">
                                                    </dx:ASPxLabel>
                                                </td>
                                                <td>
                                                    <dx:ASPxLabel ID="createdate" runat="server" Text="">
                                                    </dx:ASPxLabel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="style2">
                                                    <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="登录次数:">
                                                    </dx:ASPxLabel>
                                                </td>
                                                <td>
                                                    <dx:ASPxLabel ID="logincount" runat="server" Text="">
                                                    </dx:ASPxLabel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="style2">
                                                    <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="最近一次登录:">
                                                    </dx:ASPxLabel>
                                                </td>
                                                <td>
                                                    <dx:ASPxLabel ID="latestlogin" runat="server" Text="">
                                                    </dx:ASPxLabel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="style2">
                                                    <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="最近一次操作:">
                                                    </dx:ASPxLabel>
                                                </td>
                                                <td>
                                                    <dx:ASPxLabel ID="latestoperate" runat="server" Text="">
                                                    </dx:ASPxLabel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" align="right">
                                                    <a href="./personal/overview.aspx" style="font-size: 12px">详细信息</a>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td>
                                        <dx:ASPxDataView ID="ASPxDataView1" runat="server" ColumnCount="1" DataSourceID="developlog"
                                            RowPerPage="1" CssClass="developlog" Font-Size="12px" Height="304px" Width="293px"
                                            ToolTip="系统开发日志" AlwaysShowPager="false" PagerAlign="center" Border-BorderColor="#87adbf"
                                            Border-BorderStyle="Solid" Border-BorderWidth="1px">
                                            <ItemTemplate>
                                                <b>开发日期</b>:
                                                <asp:Label ID="createdateLabel" runat="server" Text='<%# GetShortDate(Eval("createdate").ToString()) %>' />
                                                <br />
                                                <b>开发进度</b>:
                                                <asp:Label ID="descriptionLabel" runat="server" Text='<%# Eval("description") %>'
                                                    Width="210px" Height="120px" />
                                                <br />
                                            </ItemTemplate>
                                        </dx:ASPxDataView>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div id="sysinfo">
                            <table border="0" cellpadding="10px" cellspacing="0" style="border: 1px solid #87adbf;
                                width: 716px; height: 220px">
                                <tr>
                                    <td align="left" valign="top">
                                        <br />
                                        <span style="font-size: 12px; line-height: 20px; margin-top: 10px">
                                            <ul>
                                                <li>欢迎使用本系统!本小型系统是信息科张河勇业余时间的练习之作.旨在学习! </li>
                                                <li>本系统采用asp.net并结合<a href="http://www.devexpress.com" target="_blank">devexpress</a>控件包进行整合开发
                                                </li>
                                                <li>本系统尚在开发之中,后续功能还在开发中,敬请期待! </li>
                                                <li>为了获得更好的体验,建议用chrome内核浏览器浏览!</li>
                                                <li>如果有任何方面好的<span class="tips" style="font-size: 12px">建议、bug、错误更正</span>都可以反馈给我(点击导航菜单刷新后面的<span
                                                    class="tips" style="font-size: 12px">反馈</span>),以便及时改进,谢谢! </li>
                                            </ul>
                                        </span>
                                        <table border="0" cellpadding="0" cellspacing="0" style="font-size: 14px; margin-left: 25px">
                                            <tr>
                                                <td>
                                                    邮箱:<a href="mailto:rivyer@gmail.com">rivyer@gmail.com</a>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    Q&nbsp;&nbsp;Q:278801669
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    手机:13963677445
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <asp:SqlDataSource ID="developlog" runat="server" ConnectionString="<%$ ConnectionStrings:ITConnectionString %>"
        ProviderName="System.Data.SqlClient" SelectCommand="SELECT * FROM [tb_developlog] order by createdate desc">
    </asp:SqlDataSource>
    </form>
</body>
</html>
